package com.cuit.filter;

import com.cuit.remoting.dto.RpcRequest;
import com.cuit.remoting.dto.RpcResponse;
import lombok.Builder;
import lombok.Data;

import java.util.concurrent.CompletableFuture;

@Data
@Builder
public class FilterContext {

    private boolean shouldBreak;
    private RpcRequest rpcRequest;
    private FilterChain filterChain;

    private CompletableFuture<RpcResponse<Object>> resultFuture;
}
